From: Georges Basile Stavracas Neto Date: Mon, 10 Feb 2020 22:11:26 +0000 (-0300) Subject: unlockDialog: Adjust date format X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~777^2^2~139 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d3cfb5801b3f649386ed8612b0cac8e043e44323;p=gnome-shell.git unlockDialog: Adjust date format As per design feedback at FOSDEM, adjust the time format to not have a comma, nor padding. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872 --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index acc92f4ef..07545da49 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -43,7 +43,7 @@ class UnlockDialogClock extends St.BoxLayout { let date = new Date(); /* Translators: This is a time format for a date in long format */ - let dateFormat = Shell.util_translate_time_string(N_('%A, %B %d')); + let dateFormat = Shell.util_translate_time_string(N_('%A %B %-d')); this._date.text = date.toLocaleFormat(dateFormat); }